import axios from '@/libs/axios'

//成品加工单
export const processingList = params => { return axios.post('api/produce/processingList', params).then(res => res.data)};
//成品加工单--启用、禁用
export const processingOpen = params => { return axios.post('api/produce/processingOpen', params).then(res => res.data)};
//成品加工单--推送、取消
export const processingPush = params => { return axios.post('api/produce/processingPush', params).then(res => res.data)};
//成品加工单--rfid创建
export const processingRfidCreate = params => { return axios.post('api/produce/processingRfidCreate', params).then(res => res.data)};
//成品加工单--强制完成
export const processingEnd = params => { return axios.post('api/produce/processingEnd', params).then(res => res.data)};
//成品加工单--设置批次
export const processingBatchSet = params => { return axios.post('api/produce/processingBatchSet', params).then(res => res.data)};
//成品加工单--加工单对应的sku
export const processingSkuList = params => { return axios.post('api/produce/processingSkuList', params).then(res => res.data)};
//成品加工单--创建采退、返修出库单
export const processingGoodReturn = params => { return axios.post('api/produce/processingGoodReturn', params).then(res => res.data)};
//成品加工单--报次
export const processingBaociSet = params => { return axios.post('api/produce/processingBaociSet', params).then(res => res.data)};
//成品加工单--增裁
export const processingZengcSet = params => { return axios.post('api/produce/processingZengcSet', params).then(res => res.data)};
//成品加工单--获取下载的excel文件
export const processingExcelList = params => { return axios.post('api/produce/processingExcelList', params).then(res => res.data)};
//成品加工单--获取下载缓存
export const processingExportCache = params => { return axios.post('api/produce/processingExportCache', params).then(res => res.data)};
//成品加工单--下载数据
export const processingExportData = params => { return axios.post('api/produce/processingExportData', params).then(res => res.data)};


//成品加工单管理--列表
export const processingManageList = params => { return axios.post('api/produce/processingManageList', params).then(res => res.data)};
//成品加工单管理--详情
export const processingManageDetail = params => { return axios.post('api/produce/processingManageDetail', params).then(res => res.data)};
//成品加工单管理--删除
export const processingManageDel = params => { return axios.post('api/produce/processingManageDel', params).then(res => res.data)};
//成品加工单管理--审核、同步
export const processingManageCheck = params => { return axios.post('api/produce/processingManageCheck', params).then(res => res.data)};
//成品加工单管理--保存
export const processingManageSave = params => { return axios.post('api/produce/processingManageSave', params).then(res => res.data)};
